package com.yxuan.springboot.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 
 * @author zchao
 *    Kamils实体类
 * @date 2024-05-14 19:58:05
 */
@Data
@ApiModel(description = "卡密表")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class Kamils implements Serializable{

	  private static final long serialVersionUID = 1L;
	
	  @ApiModelProperty(value = "")
	  private Integer id;
	  @ApiModelProperty(value = "卡号")
	  private String knumber;
	  @ApiModelProperty(value = "卡密（md5加密）")
	  private String kamil;
	  @ApiModelProperty(value = "卡类型（日月年）")
	  private String ktype;
	  @ApiModelProperty(value = "卡使用状况（已使用，未使用，禁用）")
	  private String kuseState;
	  @ApiModelProperty(value = "是否产出（是，否）")
	  private String isout;
      //创建时间
      @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
	  private Date createTime;
      //激活时间
      @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
	  private Date activeTime;
      //卡到期时间（到期卡失效）
      @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
	  private Date expireTime;
	  @ApiModelProperty(value = "卡价格")
	  private BigDecimal kprice;
	  @ApiModelProperty(value = "备注")
	  private String remark;
	  @ApiModelProperty(value = "")
	  private String userId;


}
